package com.example.demo.outlook.mapper;


import com.example.demo.outlook.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {


    List<User> selectAll(@Param("sortField") String sortField,
                         @Param("sortOrder") String sortOrder);


    User selectUserId(@Param("userId") Integer userId);

   /// int deleteByPrimaryKey(Long id);

   // int insert(User record);

  //  int insertSelective(User record);

  //  User selectByPrimaryKey(Long id);

  //  int updateByPrimaryKeySelective(User record);

  //  int updateByPrimaryKey(User record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_user
     *
     * @mbg.generated
     * @author hewei
     */
 //   int batchInsert(@Param("list") List<User> list);
}
